package com.mybatisplus.sunpineshop.works.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.sql.Blob;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2021-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SWorks对象", description="")
public class SWorks implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "works_id", type = IdType.ASSIGN_ID)
    private Long worksId;

    private String worksName;

    private String img;

    private String imgurl;

    private String content;

    private Blob files;

    private Integer likenum;

    private Integer browsenum;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Long userId;


}
